<ion-view title="选择包装">
    <ion-nav-buttons side="left">
        <button class="button back-button buttons icon ion-ios-arrow-left button-clear header-item" nav-direction="back" ui-sref="cydChange">返回</button>
    </ion-nav-buttons>
    <ion-nav-buttons side="right">
        <button class="button button-icon icon ion-ios-search" ng-click="goSearch()"></button>
    </ion-nav-buttons>
    <ion-content>
        <ion-refresher pulling-text="下拉加载..." on-refresh="doRefresh()"></ion-refresher>

        <div ng-if="showloading" style="margin-top:60px; text-align: center">
            <ion-spinner icon="ios" style="height: 60px; width: 60px;"></ion-spinner>
        </div>
        <h5 ng-if="bzChoose==undefined||bzChoose==''" style="color: #69717d;text-align: center;margin-top: 50px;">未找到数据</h5>
        <div class="list">
            <div  style="padding-top: 1px; padding-bottom: 1px;border-top-style: none;border-bottom-style: none;" ng-repeat="i in bzChoose">
                <a class="ydList item" ng-click="choose(i.mc)">
                    <label class="item item-input" style="border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none">
                        <p>{{i.mc}}</p>
                    </label>
                </a>
            </div>
        </div>
        <ion-infinite-scroll on-infinite="loadMore()" distance="1%" ng-if="hasNextPage()"></ion-infinite-scroll>
    </ion-content>
</ion-view>
